:host {
  display: flex;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.app-layout {
  display: flex;
  min-height: 100vh; /* 至少填充整个视口高度 */
  /*height: 100vh;*/
}

.menu-sidebar {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  /*height: 100vh;*/
  box-shadow: 2px 0 6px rgba(0,21,41,.35);
}

.header-trigger {
  height: 64px;
  padding: 20px 24px;
  font-size: 20px;
  cursor: pointer;
  transition: all .3s,padding 0s;
}

.trigger:hover {
  color: #1890ff;
}

.sidebar-logo {
  position: relative;
  height: 64px;
  padding-left: 24px;
  overflow: hidden;
  line-height: 64px;
  background: #001529;
  transition: all .3s;
}

.sidebar-logo img {
  display: inline-block;
  height: 32px;
  width: 32px;
  vertical-align: middle;
}

.sidebar-logo h1 {
  display: inline-block;
  margin: 0 0 0 20px;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  font-family: Avenir,Helvetica Neue,Arial,Helvetica,sans-serif;
  vertical-align: middle;
}

nz-header {
  padding: 0;
  width: 100%;
  z-index: 2;
}

.app-header {
  position: relative;
  height: 64px;
  padding: 0;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,21,41,.08);
}

nz-content {
  /*overflow-y: auto;*/ /* 启用垂直滚动条 */
  margin: 20px;

}

.inner-content {
  padding: 20px;
  background: #fff;
  height: 100%;
  flex: 1; /* 内容区域会占据剩余的空间 */
}

.app-footer {
  background: #fff;
  display: flex;
  height: 30px;
  justify-content: center;
  align-items: center
}

nz-footer {

}

/*.content {
  margin-left: 200px; !* 调整与侧边栏的距离 *!
  padding: 24px;
}*/

/* 调整子菜单的缩进 */
.ant-menu-inline.ant-menu-submenu.ant-menu-item,
.ant-menu-inline.ant-menu-submenu.ant-menu-submenu-title {
  height: 20px; /* 减小高度 */
  line-height: 20px; /* 减小行高 */
  padding-left: 32px !important; /* 增加左侧内边距 */
}

.ant-menu-inline .ant-menu-item .anticon,
.ant-menu-inline .ant-menu-submenu-title .anticon {
  vertical-align: middle !important; /* 对齐图标 middle */
}

/* 可选：调整内边距,调整父菜单项的内边距 */
.ant-menu-inline .ant-menu-item,
.ant-menu-inline .ant-menu-submenu-title {
  height: 20px; /* 减小高度 */
  line-height: 20px; /* 减小行高 */
  /*padding: 16px ; */  /* 减小内边距 !important */
  padding-left: 16px /*!important*/; /* 减小左侧内边距 */
}

.login-div {
  /*display: inline-block;*/
  float: right;
  margin-right: 24px;
  /*  height: 24px;
  padding: 10px;*/
}
